release: 0.1.0-alpha.2#8
Merged
sigmachirality merged 3 commits intoJul 22, 2025
Merged
Conversation
Changed Files
|
Contributor
Author
|
🧪 Testing To try out this version of the SDK, run: Expires: Thu, 21 Aug 2025 05:18:12 GMT |
Comment on lines
+13
to
+32
| name: publish | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '20' | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| yarn install | ||
|
|
||
| - name: Publish to NPM | ||
| run: | | ||
| bash ./bin/publish-npm | ||
| env: | ||
| NPM_TOKEN: ${{ secrets.SFC_NODES_NPM_TOKEN || secrets.NPM_TOKEN }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 10 months ago
To fix the problem, add a permissions block to the workflow to explicitly specify the minimal access required for the GITHUB_TOKEN. Based on the workflow tasks, it likely only requires contents: read to check out the repository code and packages: write to publish to NPM. This should be added at the root of the workflow to apply to all jobs unless overridden by job-specific permissions.
Suggested changeset
1
.github/workflows/publish-npm.yml
| @@ -2,6 +2,9 @@ | ||
| # It can also be run manually to re-publish to NPM in case it failed for some reason. | ||
| # You can run this workflow by navigating to https://www.github.com/sfcompute/nodes-typescript/actions/workflows/publish-npm.yml | ||
| name: Publish NPM | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| on: | ||
| workflow_dispatch: | ||
|
|
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Release PR
0.1.0-alpha.2 (2025-07-22)
Full Changelog: v0.1.0-alpha.1...v0.1.0-alpha.2
Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions